package models;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import play.db.jpa.Model;

@Inheritance(strategy=InheritanceType.JOINED)
@Entity
public abstract class Tarea extends Model {
	
	public String observaciones;
	@ManyToOne
	@JoinColumn(name="idPrioridad")
	public Prioridad prioridad;

}
